package com.jdcjk;

/**
 * Created by dong on 2016/12/1.
 * 网络访问地址
 */

public class UrlAddress {

    //服务器地址
    private static final String URL_SERVICE = "http://123.57.43.25:30/jdcjk/";
    //本地服务器地址
//    private static final String URL_SERVICE = "http://192.168.1.120:8089/jdcjk/";
    //登录接口
    public static final String LOGIN = URL_SERVICE + "user/login.do";
    //注册接口
    public static final String REGISTER = URL_SERVICE + "user/register.do";
    //获取验证码接口
    public static final String GET_CODE = URL_SERVICE + "user/getCode.do";
    //绑定终端接口
    public static final String BIND_TERMINAL_FOR_USER = URL_SERVICE + "bindTerminalForUser.do";
    //解绑终端接口
    public static final String UNBIND_TERMINAL_FOR_USER = URL_SERVICE + "unbindTerminalForUser.do";
    //获取用户终端列表接口
    public static final String GET_TERMINAL_FOR_USER = URL_SERVICE + "getTerminalForUser.do";
    //获取单个终端信息
    public static final String GET_TERMINAL = URL_SERVICE + "getTerminal.do";
    //轨迹回放接口
    public static final String QUERY_LOCATION_REPLAY = URL_SERVICE + "queryLocationReplay.do";
    //修改密码接口
    public static final String UPDATE_PASSWORD = URL_SERVICE + "user/updatePwd.do";
    //修改信息接口
    public static final String UPDATA_USER_INFO = URL_SERVICE + "user/updateUserInfo.do";
    //修改设备信息接口
    public static final String UPDATA_TERMINAL = URL_SERVICE + "updateTerminal.do";
    //获取用户下设备的报警信息
    public static final String GET_SOS_LOCATIONS = URL_SERVICE + "getSOSLocations.do";
    //获取单条报警信息
    public static final String GET_SOS_LOCATION = URL_SERVICE + "getSOSLocation.do";
    //终端重启指令下发
    public static final String RESET_TERMINAL = URL_SERVICE + "resetTerminal.do";
    //设置定位上报时间
    public static final String SET_LOCATION_TIME = URL_SERVICE + "setLocationTime.do";
    //设置超速报警最高时速
    public static final String SET_SPEED_WARNING = URL_SERVICE + "setSpeedWarning.do";
    //设置立即定位
    public static final String CHECK_LOCATION = URL_SERVICE + "checkLocation.do";
    //获取用户下的sos号码
    public static final String GET_TERMINAL_FAMILY = URL_SERVICE + "getTerminalFamily.do";
    //保存sos号码
    public static final String SAVE_TERMAIL_FRMILY = URL_SERVICE + "saveTermailFamily.do";
    //删除信息
    public static final String DELETE_LOCATION = URL_SERVICE + "deleteLocation.do";
    //修改报警信息状态
    public static final String UPDATA_MSG_STATUS = URL_SERVICE + "updateMsgStatus.do";
    //获取未读的信息数量
    public static final String GET_UNREAD_MSG_NUM = URL_SERVICE + "getUnreadMsgNum.do";
    //获取终端未读信息数量
    public static final String GET_UNREAD_MSG_NUM_FOR_TERMINALID = URL_SERVICE + "getUnreadMsgNumForTerminalID.do";
    //上传定位信息
    public static final String SAVE_LOCATION = URL_SERVICE + "app/saveLocation.do";
    //获取app组详细信息
    public static final String GET_APP_GROUP_INFO = "http://www.pgyer.com/apiv1/app/viewGroup";
}
